package com.vector.demo.service;

import com.vector.demo.pojo.Student;

import java.util.List;

public interface StudentService {

    //判断学生用户是否存在
    Student checkStudent(String name, String pwd);

    //增加学生
    int addStudent(Student student);

    //删除学生
    Student dropStudentById(int s_id);

    //修改学生信息
    int modifyStudent(Student student);

    //查询学生
    Student selectStudentById(int s_id);

    //查询所有的学生
    List<Student> selectAllStudent();

}
